const Redis = require('ioredis')
const redis = new Redis() // 默认连接到 localhost:6379

// 连接到Redis
redis.on('connect', () => {
  console.log('连接到Redis服务器...')
})

module.exports = redis
